<?php
	class CoursesController extends AppController {
		var $name = 'Courses';
		 public $layout = NULL ;
		var $uses = array();
	
	public function beforeFilter() {
    	parent::beforeFilter();
	}
	public function search(){
		$array = $this->Course->searchcourses();
		print_r($array);
		exit;
	}
}